import 'package:json_annotation/json_annotation.dart';

part 'domain_filter_condition_model.g.dart';

@JsonSerializable(explicitToJson: true, includeIfNull: false)
class DomainFilterConditionModel {
  DomainFilterConditionModel(this.value, this.key);

  @JsonKey(defaultValue: '')
  String value;
  @JsonKey(defaultValue: '')
  String key;

  factory DomainFilterConditionModel.fromJson(Map<String, dynamic> json) =>
      _$DomainFilterConditionModelFromJson(json);
  Map<String, dynamic> toJson() => _$DomainFilterConditionModelToJson(this);
}
